# -*- coding: utf-8 -*-


from openerp import models
from openerp.osv import osv, fields, orm


class hr_expense_line(osv.osv):

    _inherit = "hr.expense.line"

    _columns = {
        #费用产品必填
        'product_id': fields.many2one('product.product', 'Product', required=True, domain=[('hr_expense_ok','=',True)]),
        }
